// 订单数据类型定义
export interface OrderItem {
  id: number; // 订单ID
  orderNo: string;
  projectName: string;
  productName: string;
  projectCoverImgUrl: string;
  productCoverImgUrl: string;
  totalPrice: number;
  totalSessions: number;
  remainingSessions?: number;
  usedSessions?: number;
  status: number; // 0-待支付，1-待核销(进行中)，2-已完成，3-已取消
  statusDesc: string;
  paymentType?: number;
  paymentTypeDesc?: string;
  paymentTime?: string;
  createTime: string;
}

// 订单数量响应类型
export interface OrderCountResponse {
  all: number;
  unfinished: number;
  finished: number;
  cancelled: number;
}
